﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TwitterAPI;
using System.Net;

namespace TwitterTest
{
    class Program
    {
        static void Main(string[] args)
        {
            //Client client = new Client(new NetworkCredential("osno", "osno1234"));

            //foreach (FeedItem item in client.GetReplies(DateTime.Now))
            //{
            //    Console.WriteLine("{0} says: {1}", item.User, item.Text);
            //}

            //client.Friends.Find(f => f.ScreenName == "osnotest1").SendPrivateMessage("Test!");

            //foreach (User user in client.Followers)
            //{
            //    Console.WriteLine(user.Name);
            //}

            foreach (FeedItem item in TwitterAPI.Client.GetTwitsByHashCode("spectrial", new DateTime(2009, 4, 7)))
            {
                Console.WriteLine("{0} says: {1}", item.User, item.Text);
            }
            Console.ReadKey();
        }
    }
}
